package com.mostromas.ess.entities;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class StockBasics {

    @ApiModelProperty(value = "操作人ID")
    private String operatorUserId;

    @ApiModelProperty(value = "审批人ID")
    private String approvedUserId;

    @ApiModelProperty(value = "审批状态 0未审核 1已审核")
    private Integer state = 0;

    @ApiModelProperty(value = "备注")
    private String remark;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createDate;

    @TableField(exist = false)
    @ApiModelProperty(value = "仓库详情")
    private Warehouse warehouse;

    @TableField(exist = false)
    @ApiModelProperty(value = "操作人")
    private SysUser operator;

    @TableField(exist = false)
    @ApiModelProperty(value = "审批人")
    private SysUser approved;


}
